package org.linloong.modules.apis.ai.dto;


import io.swagger.v3.oas.annotations.media.Schema;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * @author dbo
 */
@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
@Schema(description = "对话历史传参")
public class ConversationVo {

    @Schema(description = "用户id")
    private String userId;

    @Schema(description = "会话ID")
    private String sessionId;

    @Schema(description = "保存内容")
    private String content;

    @Schema(description = "会话类型，0-用户,1-大模型")
    private String sender;

    @Schema(description = "预留状态字段，0-完成；1-停止")
    private String state;

    @Schema(description = "时间戳，排序")
    private String timestamp;

}
